import categoryModel from '../../models/shopping/category'

import ids from '../../prototype/ids'
import userinfo from "../../models/users/userInfo";
class Category{
    async getAllCategory(req,res,next){
        let result = await categoryModel.find({})
        res.send({
            result
        })
    }

}
export default new Category()